package com.xlx.openLink.dao;

import com.xlx.openLink.entity.pojo.Port;
import com.xlx.openLink.vo.RequestPortLst;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PortMapper {
    int deleteByPrimaryKey(String pkGuid);

    int insert(Port record);

    int insertSelective(Port record);

    Port selectByPrimaryKey(String pkGuid);

    int updateByPrimaryKeySelective(Port record);

    int updateByPrimaryKey(Port record);

    int insertBatch(@Param("list") List<Port> list);

    int updateBatch(@Param("list") List<Port> list);

    List<Port> selectByDevId(String pDevId);

    List<Port> selectByDevIdLine(String pDevId);

    List<Port> listByPage(RequestPortLst requestPortLst);

    int deleteByDevId(String pDevId);

}